Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickTime Components /
Chapter 6 - Sequence Grabber Channel Components / Sequence Grabber Channel Components Reference
Functions / Configuration Functions for All Channel Components


SGGetChannelUsage

The SGGetChannelUsage function allows the sequence grabber to determine how your channel is to be used.

pascal ComponentResult SGGetChannelUsage (SGChannel c, 
                                          long *usage);
c
Identifies the channel connection for this operation.
usage
Contains a pointer to a location that is to receive flags specifying how your channel is to be used. You may set more than one of these flags to 1. Set unused flags to 0. The following flags are defined by the SeqGrabUsageEnum data type:
seqGrabRecord
Indicates that your channel is to be used during record operations. Set this flag to 1 if your channel is being used for recording.
seqGrabPreview
Indicates that your channel is to be used during preview operations. Set this flag to 1 if your channel is being used for previewing.
seqGrabPlayDuringRecord
Indicates that your component is to play its captured data during a record operation. Set this flag to 1 if your channel plays its captured data during a record operation.
SEE ALSO
The sequence grabber component establishes your channel's usage by calling your SGSetChannelUsage function, described in the previous section.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help